<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>机机快修</title>
</head>
<body>

</body>
<script src="../js/jquery-2.2.1.min.js"></script>
<script>
    function getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]); return null;
    }


    $.post('../index/index.php?m=Home&c=Weixin&a=getAdminLoginUrl',{url:getQueryString('url')},function(res){
        if(res.code==200){
            location.href = res.data;
        }else{

        }
    },'json');
</script>
</html>